import React from 'react';
import Tab_bar from "./Tabbar"
import {HashRouter as Router,Route ,Switch,Redirect } from "react-router-dom"
import Login from './pages/Info/login';
import CaiLing from "./pages/Info/CaiLing"
import Guanzhu from "./pages/Info/guanzhu"
import Dongtai from "./pages/Info/dongtai"
import MyInformation from './pages/Info/MyInformation';
import Fensi from './pages/Info/fensi';
import Personhome from './pages/Info/personhome';
import Page404 from './pages/Info/404';
//刘
import Tuijian from './pages/Discover/tuijian';
import Zhibo from './pages/Discover/zhibo';
import Diantai from './pages/Discover/diantai';
import Paihangbang from './pages/Discover/paihangbang';
import Gedan from './pages/Discover/gedan';
import gdDetail from "./pages/Discover/gdDetail"
import SongsList from "./pages/Discover/songsList"
import DtDetail from "./pages/Discover/dtDetail"
// import Yuncun from "./pages/Cloud/yuncun"

import Jumpmv from './pages/Video/slideshow/jumpMv';
import Playmusic from "./pages/My/details/playmusic"
//高
import Bendi from "./pages/My/details/bendi"
import Zuijing from "./pages/My/details/zuijing"
import Diantai1 from "./pages/My/details/Diantai"
import Shoucang from "./pages/My/details/shoucang"
import Sirenfm from "./pages/My/details/sirenfm"
import Likemusic from "./pages/My/details/likemusic"
import PlayMusic from "./pages/My/details/playmusic"
// 高/第一次合并后添加
import ShoucangPlayer from "./pages/My/details/shoucangPlayer"
import Playmusic_pinglun from "./pages/My/details/playmusic_pinglun"

//lxh
import Guangchang from './pages/Cloud/guangchang'
import Dongtai2 from './pages/Cloud/dongtai'
import Dt_detail from './pages/Cloud/dt_details'
import Release from './pages/Cloud/release'
import Share from './pages/Cloud/share'
class App extends React.Component {
  render() {
    return (
      <Router>
          <Switch>
            <Route path="/" exact component={Login} />
            <Route path='/person'exact component={Personhome }></Route>
            <Route path='/dongtai' exact component={Dongtai }></Route>
            <Route path='/information'exact component={MyInformation }></Route>
            <Route path='/fensi'exact component={Fensi }></Route>
            <Route path='/guanzhu'  exact component={Guanzhu}></Route>
            <Route path="/cailing" exact component={CaiLing}></Route>
            <Route path="/login" exact component={Login}></Route>
            <Route path="/tuijian" component={Tuijian}></Route>
            <Route path="/zhibo" component={Zhibo}></Route>
            <Route path="/paihangbang" component={Paihangbang}></Route>
            <Route path="/gedan" component={Gedan}></Route>
            <Route path="/diantai" component={Diantai}></Route>
            <Route path="/gdDetail" component={gdDetail}></Route>
            <Route path="/songslist" component={SongsList}></Route>
            <Route path="/dtdetail" component={DtDetail}></Route>
            
            <Route path="/my/bendi" component={Bendi}></Route>
            <Route path="/my/zuijing" component={Zuijing}></Route>
            <Route path="/my/diantai" component={Diantai1}></Route>
            <Route path="/my/shoucang" component={Shoucang}></Route>
            <Route path="/my/sirenfm" component={Sirenfm}></Route>
            <Route path="/my/gedan" component={Likemusic}></Route>
            <Route path="/playmusic" component={PlayMusic}></Route>
            {/* 高/第一次合并后添加 */}
            <Route path="/my/player" component={ShoucangPlayer}></Route>
            <Route path="/playmusic_pinglun" component={Playmusic_pinglun}></Route>

            <Route path="/jumpmv" component={Jumpmv}/>
            <Route path="/playmusic" component={Playmusic}/>
            {/* {lxh} */}
            <Route path='/guangchang' component={Guangchang} />
            <Route path='/dongtai2' component={Dongtai2} />
            <Route path='/dongtai2/dt_details' component={Dt_detail}/>
            <Route path='/dongtai2/share' component={Share}/>
            <Route path='/dongtai2/release' component={Release}/>
            <Route exact component={Tab_bar}/>
            <Route path="/404" component={Page404}></Route>
            <Route path="*" to='/404'></Route>
        </Switch>
        
      </Router>
    )
  }
}


export default App
